#include<stdio.h>
int main()
{
	int num=1,sum=0;
	while(num<=100)
	{
		sum=sum+num;
		num++;
	}
	printf("the result is %d\n",sum);
	return 0;
}
